TABLE OF RIGHT DIAGONALS GENERAL METHOD
GENERATION OF RIGHT DIAGONALS FOR MAGIC SQUARE OF SQUARES (Part IA-1)
Square of Squares Tables
Andrew Bremner's article on squares of squares included the 3x3 square:
Bremner's square
3732 | 2892 | 5652 |
360721 | 4252 | 232 |
2052 | 5272 | 222121 |
The numbers in the right diagonal as the tuple (2052,4252,5652) seem to have been derived elsewhere.. But I will show that
this sequence is part of a larger set of tuples having the same property, i.e. the first number in the tuple when added to a
difference (Δ) gives the second square in the tuple and when this same
(Δ) is added to the second square produces a third square.
All these tuple sequences can be used as entries into the right diagonal of a magic square.
We will show a general method for generating the squares for a right diagonal of a magic square. Beginning with the the tuple
(1,b1,
c1) we can generate the tuple (a, b,
c) which when squared gives the diagonal numbers. Initially either b1 or c1 will be equal to ± k
where k is any natural number 1,2,3,4.... Again the end result is that a12 +
b12 +
c12 − 3b12
≠ 0 = S is transformed into a2 +
b2 +
c2 − 3b2 = 0 a
necessary condition for the square to be magic.
This example will be cover, where k initially takes on the value +1.
To summarize the tuples of Table II below will be used as entries into a right diagonal of a magic square. Knowing the difference
(b2 − a2) or
(c2 − b2) will give us a value
Δ which can be used to produce other entries into the magic square.
To date only one magic square containing 7 entries has been found. Most other squares will contain 6 entries.
As to the reason for the picture of a square, the entries to the square occur as three tuples,viz, (a,b,c),
(l,m,n) and (x,y,z) showing their connectivity. In addition,
six or more of these entries are present as their squares.
Generation of Tables where c1 = -1
- The object of this exercise is to generate a Table I with a set of tuples that obey the rule:
a12 +
b12 +
c12 − 3b12
≠ 0
and convert these tuples into a second set of tuples (Table II) that obey the rule:
a2 + b2 +
c2 − 3b2 = 0.
- Only k = 2j + 1 will be used, since the use of even k's generates half integer numbers which may be converted to whole numbers.
- In addition, we need to know two numbers e and
g where
g = 2e which when added to the
b1 and c1 numbers of Table I,
produce the next line of numbers (n + 1) in the next row of Table I. The number a1 will always be 1,
while e may vary depending on b or c.
- Two other numbers f and d are calculated using the equation
f = [2e2n2 +
(4c1 − 4b1) en +(1 − 2b12 + c12)]
/ {2(2b1 − c1 − 1)}
where n is the line number of the tables. f can also be generated directly from Table II from
S/d. However, the value of d
is equal to the denominator of the general equation above.
- Finally Δs are calculated by taking the difference in Table II between
(b2 − a2) or
(c2 − b2),
and the results placed under the Δ column. Both differences must be the same.
- As an example we begin with the tuple (1,1,−1), where a1 = 1,
b1 = 1
and c1 = −1 and use the equation to generate f.
f = [2e2n2 +
(−4 −4)en + 0]/4 = [e2n2
− 4en]/2
Setting e = 2 and g = 4 affords
f = 2n2 −4n
Substituting for f in (b) below gives
a = (2n2 −4n + 1) =
(2n2 −4n + 1 )
b = (2n2 −4n + 2n + 1) =
(2n2 −2n + 1)
c = (2n2 −4n + 4n − 1) =
(2n2 − 1)
- Substituting the appropriate n into the equations for a, b,
and c produces Table II below. Using a computer program and the
requisite calculations produced the tables below. As can
be seen taking the value of f from the middle table and adding to a1,
b1, c1,
produced a, b, c, respectively of Table II.
n |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
|
|
Table I
a1 |
b1 | c1 |
1 | 1 | -1 |
1 | 3 | 3 |
1 | 5 | 7 |
1 | 7 | 11 |
1 | 9 | 15 |
1 | 11 | 19 |
1 | 13 | 23 |
1 | 15 | 27 |
1 | 17 | 31 |
1 | 19 | 35 |
1 | 21 | 39 |
1 | 23 | 43 |
1 | 25 | 47 |
|
|
f = S/d |
0 |
-2 |
0 |
6 |
16 |
30 |
48 |
70 |
96 |
126 |
160 |
198 |
240 |
|
|
Table II
a |
b | c |
1 | 1 | -1 |
-1 | 1 | 1 |
1 | 5 | 7 |
7 | 13 | 17 |
17 | 25 | 31 |
31 | 41 | 49 |
49 | 61 | 71 |
71 | 85 | 97 |
97 | 113 | 127 |
127 | 145 | 161 |
161 | 181 | 199 |
199 | 221 | 241 |
241 | 265 | 287 |
|
|
Δ |
0 |
0 |
24 |
120 |
336 |
720 |
1320 |
2184 |
3360 |
4896 |
6840 |
9240 |
12144 |
|
To obtain e, g, f,
and d the algebraic calculations are performed as follows:
- The conditions we set according to first principles are a12 +
b12 + c12 − 3b12 ≠ 0 where a12 = 1 and g = 2e
- Generate the equation: 12 + (en + b1)2
+ (gn + c1)2
− 3(en +b1)2 = 0 (a)
Actually there are 4 equations each derived from:
12 + (en ±b1)2
+ (gn ±c1)2
− 3(en ±b1)2 = 0. (a*)
(I picked +b1 and +c1).
- Add f to the numbers in the previous equation:
(f + 1)2 +
(f + en + b1)2 +
(f + gn + c1)2
− 3(f + en +b1)2 = 0
(b)
- Expand the equation in order to combine and eliminate terms:
(f2 + 2f + 1) +
(f2 + 2enf +
2b1f + e2n2 +
2b1en + b12)
+ (f2 + 2gnf +
2c1f + g2n2
+ 2c1gn + c12)
−3(f2 + 2enf +
2b1f + e2n2
+ 2b1en + b12) = 0 (c)
-
2(1 − 2b1 + c1)f +
(2gnf −
4enf)
+ (g2n2
−2e2n2) + (2c1gn
− 4b1en) + (1 − 2b12 + c12) = 0
(d)
- Move f to the other side of the equation and
since g = 2e then
−2(1 − 2b1 + c1)f =
(4e2n2
−2e2n2) +
(4c1en − 4b1en) +
(1 − 2b12 + c12) (e)
f = [2e2n2 +
(4c1 − 4b1) en +(1 − 2b12 + c12)]
/ {−2(1 − 2b1 + c1)} (f)
- Rearranging the denominator we arrive at the general equation:
f = [2e2n2 +
(4c1 − 4b1) en +(1 − 2b12 + c12)]
/ {2(2b1 − c1 − 1)} (g)
- As an aside when c1 in (a*) is − c1 the transforming equation is:
f = [2e2n2 +
(− 4c1 − 4b1) en +(1 − 2b12 + c12)]
/ {2(2b1 + c1 − 1)} (h)
- At this point in (g) the divisor d is equal to the coefficent of f,
i.e. d = −2(1 − 2b1 + c1).
For −2(1 − 2b1 + c)
to divide the right side of
the equation we find the lowest value of e and g
which would satisfy the equation and these numbers substituted into (a) and (b)
along with f.
- The first is a non magic square of squares listed in Bremner's paper is not magic but has been corrected to be in
A with the magic sum (Sm) 38307.
Two other examples are B and C produced
from the tuple (31, 41, 49) and (881, 925, 967)
as their squares. The magic sum, Sm, for these cases are 5043 and 2566875, respectively, while the n's are 5 and 20, respectively.
Magic square A
582 | 18814 | 1272 |
25534 | 1132 | 22 |
972 | 822 | 22174 |
|
| |
Magic square B
242 | 2066 | 492 |
3506 | 412 | (12i)2 |
312 | 362 | 2786 |
|
| |
Magic square C
1446025 | 4312 | 9672 |
344689 | 9252 | 11692 |
8812 | 1525489 | 5152 |
|
This concludes Part IA-1. To continue to Part IA
which treats tuples of the type (1,1,−3).
Go back to homepage.
Copyright © 2018 by Eddie N Gutierrez. E-Mail: edguti144@outlook.com